package Teacher;

import sun.awt.geom.AreaOp;
public class Person {
    // 人员的id和name属性
    private int id;
    private String name;

    // 构造方法，用于初始化id和name
    public Person(int id, String name) {
        this.id = id;
        this.name = name;
    }

    // 父类的信息展示方法
    public void showInfo() {
        System.out.println("人员信息：" + id + "，" + name);
    }
}